/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication4;
import javax.swing.JOptionPane;
/**
 *
 * @author Aluno
 */
public class JavaApplication4 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String nome;
        Filme f = new Filme();
        Integer classific;
        
       
        //ENTRADA DE DADOS
        nome = JOptionPane.showInputDialog("Digite o nome: ");
        
        f.atribuirNome(nome);
        
        classific=
        Integer.parseInt(JOptionPane.showInputDialog("Digite classificacao: "));
        
       
        classific = Integer.parseInt("50");
        JOptionPane.showMessageDialog(null, "Dados do Filme:\n"+f.retornarNome()+"\n 12 anos\n120 minutos");
    }
    
}
